<h1>Type deletion</h1><hr />


<h2>Informations</h2><hr />
<dl class="row">
  <dt class="col-sm-2">Name</dt>
  <dd class="col-sm-10">{{typeInstance?.name}}</dd>

  <dt class="col-sm-2">Label</dt>
  <dd class="col-sm-10">{{typeInstance?.label}}</dd>

  <dt class="col-sm-2">Description</dt>
  <dd class="col-sm-10 text-truncate">{{typeInstance?.description}}</dd>

  <dt class="col-sm-2">Number of objects</dt>
  <dd class="col-sm-10">{{numberOfObjects}}</dd>
</dl>

<hr />
<button class="btn btn-danger" (click)="open()">Delete type?</button>
<a routerLink="{{prevRoute.getPreviousUrl()}}" class="btn btn-outline-secondary ml-3">Back to previous site</a>

